import React, { useRef } from 'react'
// import { withRouter } from 'react-router-dom'
import { withRoutes } from '../utils'

function Home(props) {
    const box = useRef()
    // console.log(box.current)
    console.log(props)
    return (
        <div>
            Home
            <div ref={box} className='box'>123</div>
        </div>
    )
}

// export default withRouter(Home)
export default withRoutes(Home)
